package test;

import org.springframework.stereotype.Component;

@Component("晴天")
public class Bus implements Drive{
    public void drive(){
        System.out.println("乘坐公交车");
    }
}
